package com.ns.core.enums;

import lombok.Getter;

/**
 * 通用枚举
 *
 * @author lw
 * @since 2024-11-11
 */
public class GeneralEnum {
    /**
     * 位置枚举
     */
    @Getter
    public enum LOCATION {
        HEADER("HEADER", "头部"),
        LEFT("LEFT", "左"),
        CENTER("CENTER", "中"),

        RIGHT("RIGHT", "右"),
        FOOTER("FOOTER", "尾");
        private final String key;
        private final String val;

        LOCATION(String key, String val) {
            this.key = key;
            this.val = val;
        }
    }

    /**
     * 字典枚举
     */
    @Getter
    public enum DICT {
        DATA_SOURCES("DATA_SOURCES", "热门数据来源"),

        SD("SD", "服务"),

        ACTUATORS("ACTUATORS", "执行器"),

        RESOURCE_CATEGORY("RESOURCE_CATEGORY", "资源类别"),

        RESOURCE_TYPE("RESOURCE_TYPE", "资源类型"),

        TAGS("TAGS", "标签"),

        MY_SETTLED("MY_SETTLED", "我的投放"),

        ADS_LOCATION_ID_NAME("ADS_LOCATION_ID_NAME", "广告定位 ID_NAME"),

        ADS_LOCATION_CODE_ID("ADS_LOCATION_CODE_ID", "广告定位 ID_CODE"),

        IS_NEED_AUDIT("IS_NEED_AUDIT", "是否需要审核"),

        AUDIT_STATUS("AUDIT_STATUS", "审核状态");

        private final String key;
        private final String val;

        DICT(String key, String val) {
            this.key = key;
            this.val = val;
        }
    }
}
